package bma.common.langutil.ai.compatible;

import bma.common.langutil.ai.future.AIFuture;

public class SwitchAIException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	private AIFuture<?> future;

	public SwitchAIException(AIFuture<?> stack) {
		super("AICalling...");
		this.future = stack;
	}

	@SuppressWarnings("unchecked")
	public <TYPE> AIFuture<TYPE> getFuture() {
		return (AIFuture<TYPE>) future;
	}

}
